package zl.ordermanager.service;

import zl.ordermanager.vo.DataGrid;
import zl.ordermanager.vo.PageHelper;
import zl.ordermanager.vo.PurchaseInvoice;
import zl.ordermanager.vo.Total;

public interface PurchaseInvoiceService {

	public DataGrid<PurchaseInvoice> dataGrid(PageHelper pageHelper, Total total);

	public PurchaseInvoice get(Integer id);
	
	public PurchaseInvoice getByInvoiceNo(String InvoiceNo);
	
	public void add(PurchaseInvoice purchaseInvoice) throws Exception;
		
	public void edit(PurchaseInvoice purchaseInvoice) throws Exception;

	public void delete(Integer id);
}
